//
//  FDMPushWheelImages.m
//  Entertainment
//
//  Created by dllo on 16/4/25.
//  Copyright © 2016年 付冬梅. All rights reserved.
//

#import "FDMPushWheelImages.h"
#import "FDMPushWheelModel.h"

@interface FDMPushWheelImages ()

@property (nonatomic, retain) NSMutableArray *imagesArr;

@end
@implementation FDMPushWheelImages

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self createWheelImage];
    }
    return self;
}

- (void)setPicArr:(NSMutableArray *)picArr {
    if (_picArr != picArr) {
        [_picArr release];
        _picArr = [picArr retain];
        
        FDMAlbum *album = [[FDMAlbum alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height) withImages:_picArr andTime:2];
        [self addSubview:album];
        [album release];
    }
}

- (void)createWheelImage {
    
}

- (void)dealloc {
    [super dealloc];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
